#define _CRT_SECURE_NO_WARNINGS 1
#include<iostream>
#include"shared_ptr.h"

struct D
{
	void operator()(int* ptr)
	{
		delete[] ptr;
	}
};
int main()
{
	//int* p=new int;
	{
		aqc::shared_ptr<int> sp(new int[4], D());
	}

	return 0;
}